using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class BsKnifeinstockdetailEntity : EntityBase
{
public BsKnifeinstockdetailTable TableSchema
{
get
{
return (BsKnifeinstockdetailTable)_tableSchema;
}}

public BsKnifeinstockdetailEntity()
{
_tableSchema = BsKnifeinstockdetailTable.Current;
}

#region 属性列表

public Decimal? DetailID
{
get { return Convert.ToDecimal(GetData(BsKnifeinstockdetailTable.C_DETAILID)); }
set { SetData(BsKnifeinstockdetailTable.C_DETAILID, value); }
}

public String BillID
{
get { return Convert.ToString(GetData(BsKnifeinstockdetailTable.C_BILLID)); }
set { SetData(BsKnifeinstockdetailTable.C_BILLID, value); }
}

public String KnifeID
{
get { return Convert.ToString(GetData(BsKnifeinstockdetailTable.C_KNIFEID)); }
set { SetData(BsKnifeinstockdetailTable.C_KNIFEID, value); }
}

public Decimal? Nums
{
get { return Convert.ToDecimal(GetData(BsKnifeinstockdetailTable.C_NUMS)); }
set { SetData(BsKnifeinstockdetailTable.C_NUMS, value); }
}

public Decimal? Price
{
get { return Convert.ToDecimal(GetData(BsKnifeinstockdetailTable.C_PRICE)); }
set { SetData(BsKnifeinstockdetailTable.C_PRICE, value); }
}

public Decimal? Amount
{
get { return Convert.ToDecimal(GetData(BsKnifeinstockdetailTable.C_AMOUNT)); }
set { SetData(BsKnifeinstockdetailTable.C_AMOUNT, value); }
}

#endregion
}
}